package com.starnet.studentmanagement.service;

import com.starnet.studentmanagement.entity.CourseSelection;
import com.baomidou.mybatisplus.extension.service.IService;
import com.starnet.studentmanagement.vo.PageResult;
import com.starnet.studentmanagement.vo.Result;
import com.starnet.studentmanagement.vo.param.PageParams;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sangeng
 * @since 2022-03-26
 */
public interface CourseSelectionService {

    Result addNewGrade(CourseSelection courseSelection);

    Result updateGrade(CourseSelection courseSelection);

    Result deleteGradeById(Integer id);

    PageResult listAll(Integer page, Integer pageSize, String cid);

    Result getPassRate(String cid);
}
